package main

import (
	"fmt"
	"log"
	"net/http"
)

func main() {
	http.HandleFunc("/", handler1)
	log.Fatal(http.ListenAndServe("localhost:8999", nil))
}

func handler1(writer http.ResponseWriter, request *http.Request) {
	_, _ = fmt.Fprintf(writer, "URL.PATH = %q\n", request.URL.Path)

}
